package com.central.common.model;

/**
 * 返回结果,
 * @author ly
 * @email 664162337@qq.com
 * @date 2020/9/25 14:40
 */
public enum CodeEnum {
    /**
     * 成功
     */
    SUCCESS(0),
    /**
     * 失败
     */
    ERROR(1);

    private final Integer code;

    CodeEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
